package com.entor.exception;

import com.entor.util.Result;

public class JwtException extends RuntimeException{
    private Integer code;
    private String msg;
    public JwtException() {
        super();
    }
    public JwtException(Integer code,String msg){
        this(Result.error().getMsg());
        this.code=code;
        this.msg=msg;
    }

    public JwtException(String message) {
        super(message);
    }

}
